﻿using System.Collections.Generic;
using Kaiser.Models;
using Kaiser.Modules.Cubic.DomainModel.Product;
using Kaiser.Modules.Cubic.ViewModel;
using Kaiser.Services;

namespace Kaiser.Modules.Cubic.Services
{
    public interface IProductService : IServiceBase<ProductDetail>
    {

        DataGrid<DomainModel.Product.ProductDetail> SearchProduct(ProductSearch search, PagingInfo pageinfo);

       

        IList<Photo> GetProductPhotoList(string productId);

        void InsertProductPhoto(Photo model);
        void UpdateProductPhoto(Photo model);
        void DelProductPhoto(string id);

        DataGrid<DomainModel.Product.Photo> SearchProductPhoto( string productId, PagingInfo pageinfo);
        Photo GetProductPhoto(string id);
    }
}
